package com.leyou.user.api;

import com.leyou.user.api.pojo.User;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

public interface UserApi {
    @GetMapping("/query")
    User queryUserByUsernameAndPassword(@RequestParam("username") String username, @RequestParam("password") String password);
}

